package com.topsec.erp.util.CustomAnnotation;

import java.lang.annotation.*;

/**
 * 类说明：最大长度验证类
 *
 * @Idea IntelliJ IDEA
 * @Since JDK：1.8.0_102
 * @Date 2019-11-25 16:35
 * @Program erp
 * @ClassName DateMaxSize
 * @Version V1.0
 * @Author hyq
 */
@Documented
@Inherited
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface DataMaxSize {
    public int max() default 64;

    public String message() default "长度太长";

}
